Automattic\Jetpack\Connection\Error_Handler B

Total Complexity 92
Dependencies 6
Dependents 3
Total lines 689
Lines of code 284
Logical lines of code 151
Comment lines 289
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
check_api_response_for_errors()
A
48 15 29
handle_verified_errors()
A
51 15 24
wp_error_to_array()
S
53 6 21
generic_admin_notice_error()
S
55 6 19
store_error()
S
55 6 19
report_error()
S
65 6 8
should_report_error()
S
58 5 15
garbage_collector()
S
58 4 16
get_error_by_nonce()
S
63 4 11
get_user_id_from_token()
S
64 3 9
send_error_to_wpcom()
S
60 2 14
__construct()
S
62 2 11
register_verify_error_endpoint()
S
58 1 17
encrypt_data_to_wpcom()
S
66 2 8
get_stored_errors()
S
67 2 8
get_verified_errors()
S
67 2 8
verify_error()
S
64 2 10
verify_xml_rpc_error()
S
66 2 8
get_instance()
S
71 2 6
delete_all_errors()
S
78 1 4
delete_all_errors_and_return_unfiltered_value()
S
77 1 4
delete_stored_errors()
S
80 1 3
delete_verified_errors()
S
80 1 3
jetpack_react_dashboard_error()
S
65 1 9